
#ifndef __TITLEBAR_H__
#define __TITLEBAR_H__

#include "imagectrlbox.h"

class TitleBar
	: public ImageCtrlBox
	, public ImageCtrl::Callback
{
public:
	TitleBar(void);
	virtual ~TitleBar(void);
	void Load();

protected:
	ImageCtrl m_resetctrl;
	ImageCtrl m_minctrl;
	ImageCtrl m_closectrl;

	void Layout();
	void OnClick(ImageCtrl* imagectrl);

};

#endif //__TITLEBAR_H__
